<div class="panel panel-inverse modal-dialog modal-lg" data-sortable-id="ui-general-1">
    <div class="panel-heading">
        <div class="panel-heading-btn">
            <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-dismiss="modal" ><i class="fa fa-times"></i></a>
        </div>
        <h4 class="panel-title">修改用户</h4>
    </div>
    <div class="panel-body">
        <form class="form-horizontal form-bordered" data-parsley-validate="true" id="user-edit-form">
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="username">账号 * :</label>
                <div class="col-md-7 col-sm-7">
                    <input class="form-control" type="text" id="username" name="username" placeholder="必填" readonly data-parsley-required="true" />
                    <input type="hidden" id="userId" name="userId" value="">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="nickname">用户名 * :</label>
                <div class="col-md-7 col-sm-7">
                    <input class="form-control" type="text" id="nickname" name="nickname" placeholder="必填" data-parsley-required="true" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="email">邮箱  :</label>
                <div class="col-md-7 col-sm-7">
                    <input class="form-control" type="text" id="email" name="email" placeholder="可不填" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="mobile">手机号  :</label>
                <div class="col-md-7 col-sm-7">
                    <input class="form-control" type="text" id="mobile" name="mobile" placeholder="可不填" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="grade">账号等级  :</label>
                <div class="col-md-7 col-sm-7">
                    <select class="form-control" type="text" id="grade" name="grade" ></select>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="byCode">邀请码  :</label>
                <div class="col-md-7 col-sm-7">
                    <input class="form-control" type="text" id="byCode" name="byCode" placeholder="可不填" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="roles">角色 * :</label>
                <div class="col-md-7 col-sm-7">
                    <select multiple="multiple" name="rolesSelect" ></select>
                    <input class="form-control" type="hidden" id="roles" name="roles" />
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-md-2 col-sm-2" for="deptId">部门 * :</label>
                <div class="col-md-7 col-sm-7 height-150 overflow-auto">
                    <div class="p-t-5 " id="deptTreeEdit" ></div>
                    <input class="form-control" type="hidden" id="deptId" name="deptId" />
                </div>
            </div>
        </form>
    </div>
    <div class="panel-footer">
        <a href="javascript:;" class="btn btn-sm btn-danger pull-right m-3" onclick="update_Edit_User();">保存</a>
        <a href="javascript:;" class="btn btn-sm btn-white pull-right m-3" data-dismiss="modal">取消</a>
        <div class="clearfix"></div>
    </div>
</div>
<script data-th-src="@{js/app/system/user/userEdit.js}"></script>